
package com.common.android.utils.parser;

import java.util.List;

import org.json.JSONArray;
import org.json.JSONException;

public abstract class AbstractArrayParser<T extends BaseType> implements ArrayParser<T> {

    public abstract List<T> parse(JSONArray array) throws JSONException;

    public abstract JSONArray toJSONArray(List<T> group) throws JSONException;
}
